package com.antrain.his.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author antrain
 * @since 2020-09-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Patientcosts implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID主键
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 挂号ID
     */
    @TableField("RegistID")
    private Integer RegistID;

    /**
     * 发票ID
     */
    @TableField("InvoiceID")
    private Integer InvoiceID;

    /**
     * 项目ID
     */
    @TableField("ItemID")
    private Integer ItemID;

    /**
     * 项目类型 1-非药品 2-药品
     */
    @TableField("ItemType")
    private Integer ItemType;

    /**
     * 项目名称
     */
    @TableField("Name")
    private String Name;

    /**
     * 项目单价
     */
    @TableField("Price")
    private BigDecimal Price;

    /**
     * 数量
     */
    @TableField("Amount")
    private BigDecimal Amount;

    /**
     * 执行科室ID
     */
    @TableField("DeptID")
    private Integer DeptID;

    /**
     * 开立时间
     */
    @TableField("Createtime")
    private LocalDateTime Createtime;

    /**
     * 开立人员ID
     */
    @TableField("CreateOperID")
    private Integer CreateOperID;

    /**
     * 收/退费时间
     */
    @TableField("PayTime")
    private LocalDateTime PayTime;

    /**
     * 收/退费人员ID
     */
    @TableField("RegisterID")
    private Integer RegisterID;

    /**
     * 收费方式
     */
    @TableField("FeeType")
    private Integer FeeType;

    /**
     * 退费对应记录ID
     */
    @TableField("BackID")
    private Integer BackID;


}
